;#############################
;命令：
;nasm -f elf64 day0_1print_1function.asm -o main.o && ld main.o -o main && ./main
;输出：
;Hello, World! This is YuXiaoyang! Ye! function
;#############################
section .data
	msg: db "Hello, World! This is YuXiaoyang! Ye! function", 10, 0
	length: equ $ - msg

section .text
	global _start

_start:
;#############################
	call print

	call exit

;#############################

print:
	mov rax, 1
	mov rdi, 1
	mov rsi, msg
	mov rdx, length
	syscall

	ret

exit:
	mov rax, 60
	mov rdi, 0
	syscall

	ret
